//
//  ApeViewController+Pay.h
//  BDD
//
//  Created by Eton on 2017/4/8.
//  Copyright © 2017年 APE. All rights reserved.
//

#import "AppViewController.h"
#import "PayParameterInfo.h"
#import "PayParam.h"
#import "PayManager.h"

@interface ApeViewController (Pay)

/*
 *   recharge 充值；deposit 押金
 *   dataType枚举值为 1-VIP, 2-TASK, 3-DEPOSIT，押金, 4-RECHARGE，充值
 *   pay为alipay或者wechat
 */
- (RACSignal *)paymentWithPayTask:(PayPlatformType) payTask
                         dataType:(PayDataType ) dataType
                       money_real:(double ) money_real;

- (RACSignal *)paymentWithPayTask:(PayPlatformType) payTask
                         dataType:(PayDataType ) dataType
                       money_real:(double ) money_real
                         targetID:(NSString *)targetID;

- (RACSignal *)paymentWithID:(NSString *) dataID
                    dataType:(PayDataType ) dataType
                     payTask:(PayPlatformType) payTask;

@end
